import request from "@/utils/request"

// 新增告警事件类型
export const addAlarmEventType = (params = {}) => { return request.post('/business/alarmEventType', params) }
// 修改事件类型
export const updateAlarmEventType = (params = {}) => { return request.put('/business/alarmEventType', params) }
//删除事件类型
export const deleteAlarmEventType = (params) => { return request.delete('/business/alarmEventType', { data: params }) }
// 查询事件类型列表
export const listAlarmEventType = (params = {}) => { return request.get('/business/alarmEventType/list', { params }) }
// 查询事件类型列表
export const getAlarmEventTypeListByid = (params) => { return request.get('/business/alarmEventType/list', { params }) }
